.fileOperation {
  min-width: 962px;
  padding: 16px;
  background-color: #fff;

  /deep/ .ivu-select-dropdown-list {
    max-height: 300px;

    li {
      margin-right: 0;
    }
  }

  .fieldset {
    position: relative;
    min-height: 500px;
    padding: 35px 10px 10px;
    width: 100%;
    height: 100%;
    border: #D8D8D8 solid 2px;

    .fieldset-title {
      padding: 4px 10px;
      width: 100%;
      position: absolute;
      top: 0;
      left: 0px;
      background-color: #F6F6F6;
    }

    * {
      margin-right: 10px;
    }

    /deep/ .ivu-tree-arrow {
      float: right;
      width: 20px;
      position: relative;
      z-index: 3;
      line-height: 24px;

      i {
        font-size: 20px;
      }
    }

    /deep/ .ivu-tree-title {
      //width: calc(100% - 12px);
      width: 100%;
      line-height: 24px;
    }

    /deep/ .ivu-tree ul li {
      margin-top: 4px;
    }
  }

  .fileOperation-box {
    width: 100%;
    height: 100%;
    max-height: 800px;
    overflow: auto;
    // overflow-y: auto;
    // overflow-x: hidden;
  }

  legend {
    //font-weight:800;
    background: #fff;
  }

  .tree {
    margin-right: 10px;
    height: 100%;
  }

  .selectFile {
    display: inline-block;
    background-color: #2d8cf0;
    border-color: #2d8cf0;
    color: white;
    // margin-top: 16px;
    padding: 0 5px;
    height: 24px;
    line-height: 24px;
    border-radius: 4px;
    cursor: pointer;
  }

  .showImgList {
    margin: 20px 0 40px;
    // height: 120px;
    max-height: 350px;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;

    //&::before,
    //&::after {
    //  content: "";
    //  display: block;
    //  clear: both;
    //}
  }

  .imgCheckListBox {
    //float: left;
    width: 120px;
    height: 164px;
    margin-bottom: 10px;

    .title {
      max-width: 120px;
      max-height: 20px;
      margin-top: 4px;
      line-height: 20px;
      font-size: 12px;
      display: inline-block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;

    }
    * {
      margin-right: 0;
    }
  }

  .imgCheckList {
    width: 120px;
    height: 140px;
    border: 1px solid #D8D8D8;
    text-align: center;
    // padding-top: 10px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    position: relative;
    z-index: 6;

    .icon-box {
      width: 100%;
      height: calc(100% + 1px);
      position: absolute;
      top: -1px;
      overflow: hidden;

      &:hover .iconTypeMore {
        &.delImg {
          top: 0;
          right: 0;
        }

        &.checkImg {
          right: 0;
          bottom: 0;
        }
      }
    }

    .iconType {
      position: absolute;
      width: 45px;
      top: 0;
      left: 0;
      border: 1px solid #ccc;
      border-top: none;
      border-left: none;
      color: #999;
      text-align: center;

      &.success {
        border-color: #47cb89;
        color: #47cb89;
      }

      &.fail {
        border-color: #f16643;
        color: #f16643;
      }
    }

    .iconTypeMore {
      position: absolute;
      width: 20px;
      height: 20px;
      margin-right: 0;
      color: #fff;
      font-size: 20px;
      cursor: pointer;
      transition: all .2s linear;

      &.delImg {
        top: -15px;
        right: -15px;
        border-radius: 0 0 0 20px;
        background-color: rgba(0, 0, 0, .5);

        i {
          top: -8px;
          left: 2px;
        }

        &:hover {
          color: #EB9620;
        }
      }

      &.checkImg {
        right: -14px;
        bottom: -14px;

        &.checked {
          right: 0;
          bottom: 0;
          color: #EB9620;
        }

        /deep/ .ivu-checkbox {
          display: none;
        }

        /deep/ .ivu-checkbox-checked + i {
          color: #EB9620;
        }

        i {
          top: -3px;
          left: 3px;
        }

        &::before {
          content: '';
          position: absolute;
          bottom: 0;
          right: 0;
          width: 0;
          height: 0;
          border-bottom: 25px solid rgba(0, 0, 0, .5);
          border-left: 25px solid transparent;
        }
      }

      > i {
        position: relative;
        margin-right: 0;
      }
    }
  }

  // .imgCheckList:nth-child(4n) {
  //   margin-right: 0px;
  // }

  .imgCheckList > .img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    //padding: 10px;

    img {
      margin: auto;
      max-width: 100%;
      max-height: 100%;
    }
  }

  .drapFile {
    max-width: 820px;
  }

  .demo-tree-render .ivu-tree-title {
    width: 100%;
  }

  .isAdminUpload {
    float: right;
    margin-right: 0;

    * {
      margin-right: 0;
    }
  }
  /deep/ .tree-item {
    padding-left: 10px;
    position: relative;
    display: inline-block;
    width: 100%;
    line-height: 24px;
  }
  /deep/.tree-label:before {
    position: absolute;
    top: 3px;
    left: 0;
    content: '*';
    display: inline-block;
    font-size: 14px;
    color: #fdf5e9;
  }
  /deep/ .red.tree-label:before {
    color: #FF0010;
  }
}
